package event.money.tracker;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import android.content.Context;
import android.view.LayoutInflater;
import android.widget.SimpleAdapter;

public class SimpleIDAdapter extends SimpleAdapter {
	
	private List<Integer> uniqueIDs;
	
	public SimpleIDAdapter(Context context, List<Map<String, String>> data, List<Integer> ids,  
	          int resource, String[] from, int[] to) {  
	      super(context, data, resource, from, to);  
	      
	      uniqueIDs = ids;
	  } 
	
	public Integer GetUniqueID(int aPosition) {
		return uniqueIDs.get(aPosition);
	}

}
